package com.ybox.auth.domain;



import javax.validation.constraints.NotBlank;


public class Sms {
    /**
     * 手机号
     */
    @NotBlank
    private String phone;

    /**
     * 模板参数 {}
     */
    private String code;

    /**
     * 收件人姓名，模板参数 {}
     */
    private String name;

    /**
     * 短链接，模板参数 {}
     */
    private String url;

    public Sms() {

    }

    public Sms(String phone, String code, String name, String url) {
        this.phone = phone;
        this.code = code;
        this.name = name;
        this.url = url;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}